package pri.zxx.datastructure.tree;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

/**
 * @author xigua
 * @desc
 * @createTime 2022-03-19-下午10:33
 */
public class MyTree {
    //根节点
    private TreeNode<T> root;

    public static void main(String[] args) {

    }

    @Data
    @AllArgsConstructor
    public static class TreeNode<T> {
        private T val;
        private TreeNode<T> left;
        private TreeNode<T> right;

    }
}
